<%@page import="com.yh.news.biz.*,com.yh.news.entity.*,java.util.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新闻列表</title>
<link rel="stylesheet" 
	href="css/bootstrap.min.css">  
	<script src="js/jquery-3.1.1.js"></script>
	<script 
	src="js/bootstrap.min.js"></script>

</head>
<body>
	<form action="donews.jsp" method="post">
	<table class="table" border="1px" align="center">
	<caption>新闻添加</caption>
	
	<input type="hidden" name="opt" value="add"/>
		
			<tr>
				<td>标题</td>
				<td><input name="title" type="text" value="" /></td>
			</tr>
			
			<tr>
				<td>作者</td>
				<td><input name="author" type="text" value=""/></td>
			</tr>
			<tr>
				<td>内容</td>
				<td><input name="content" type="text" value=""/></td>
			</tr>
	</table>
	<tr align="right">	
	<td colspan="2"><input type="submit" value="添加"/></td>
	</tr>
	</table>
	</form>
	
</body>
</html>